package com.px.project.module.ml.service;

import java.util.Date;
import java.util.List;

import com.px.project.module.ml.vo.ml.MlCountVo;
import com.px.project.module.ml.vo.ml.MlInfoCountVo;
import com.px.project.module.ml.vo.ml.MlVerificationSheetCountVo;
import com.px.project.module.ml.vo.ml.MlWarningCountVo;

/**
 * 物资系统》》物资看板业务逻辑接口
 *
 * @author 品讯科技
 * @date 2024-08
 */
public interface IMlService {
    /**
     * 获取仓库统计
     *
     * @return {@link MlCountVo}
     */
    MlCountVo listOfCount();

    /**
     * 获取物资库存预警
     *
     * @param materialId 物料ID
     * @return {@link List}<{@link MlWarningCountVo}>
     */
    List<MlWarningCountVo> listOfCountAndWarning(Long materialId);

    /**
     * 获取物资库存信息
     *
     * @param storeId 仓库ID
     * @param materialId 物料ID
     * @return {@link List}<{@link MlInfoCountVo}>
     */
    List<MlInfoCountVo> listOfCountAndInfo(Long storeId, Long materialId);

    /**
     * 获取物资核销信息
     *
     * @param materialId 物料ID
     * @return {@link List}<{@link MlVerificationSheetCountVo}>
     */
    List<MlVerificationSheetCountVo> listOfCountAndVerificationSheet(Long materialId, Date date);
}
